package rs.dalao.syc.doctor.prescription.dao.persist.mapper;/*
 *   @author:Casin
 *   @date:2023/8/12
 *   @code:
 */

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
import rs.dalao.syc.doctor.prescription.pojo.entity.Prescription;
import rs.dalao.syc.doctor.prescription.pojo.vo.PatientListVO;
import rs.dalao.syc.doctor.prescription.pojo.vo.PatientNameVO;

import java.util.List;

@Repository
public interface PrescriptionMapper extends BaseMapper<Prescription> {
    /**获取所有的认证用户的名字和id*/
    List<PatientNameVO> getAllPatient();

    /**病患管理*/
    List<PatientListVO> getPatientList(Long doctorId);
}
